<%@ page import="java.util.*" %>

<jsp:useBean id="formHandler" class="se2.LoginBean" scope="request"/>
<jsp:setProperty name="formHandler" property="*"/>

<% 
	if (formHandler.validate())
	{
%>
		<jsp:forward page="success.jsp"/>
<%
	}
	else
	{
%>
		<jsp:forward page="index.html?success=false"/>
<%
	}
%>
